import { queryCategoryList } from "@/api/news";
import { reactive } from "vue";

// 获取分类
const getInfoCategoryList = (params) => {
    queryCategoryList()
        .then((response) => {
            params.callback && params.callback(response.data.data);
        })
        .catch((error) => { });
}

export {
    getInfoCategoryList
}